
/***** CODE GENERATION START V090: Do not modify the following code **********/

#ifndef GRAPH
  #define GRAPH(n) enum n##_states {
  #define STATE(s,p,a) s,
  #define STATE_END
  #define STATE_ONLY(s,p,a) s,
  #define TRANS(e,n,a)
  #define GRAPH_END(n) n##_TotalStates};
#endif /* !GRAPH */

GRAPH (HiGraphGetRmtCfg)

/*----- State  0 ------------------------------------------------------------*/

STATE      (GetConfiguration,               HG_TREE_ROOT,                   nullAction                      )
TRANS      (EXIT,                           INTERNAL,                       nullAction            )
TRANS      (EV (EVT,RMTCFG_RcvGetCfgMsg),   HandleGetConfigMsg,             null_action                     )
STATE_END

/*----- State  1 ------------------------------------------------------------*/

STATE      (GetActive,                      GetConfiguration,               nullAction                      )
TRANS      (EXIT,                           INTERNAL,                       nullAction            )
TRANS      (EV (EVT,RMTCFG_GetCfgTimeOut),  GetConfiguration,               OnGetCfgTimeOut                 )
STATE_END

/*----- State  2 ------------------------------------------------------------*/

STATE      (HandleGetConfigMsg,             GetActive,                      HandleGetCfgMsg                 )
TRANS      (EXIT,                           INTERNAL,                       nullAction            )
TRANS      (EV (EVT,RMTCFG_RcvNewGetCfgMsg), INTERNAL,                       HandleGetCfgMsg                 )
TRANS      (EV (EVT,RMTCFG_ConnAvailable),  SendSendParaMsg,                null_action                     )
STATE_END

/*----- State  3 ------------------------------------------------------------*/

STATE      (SendSendParaMsg,                GetActive,                      SendParaMsg                     )
TRANS      (EXIT,                           INTERNAL,                       nullAction            )
TRANS      (EV (EVT,RMTCFG_GetCfgSendMsgTimeOut), INTERNAL,                       SendParaMsg                     )
TRANS      (EV (EVT,RMTCFG_RcvNewGetCfgMsg), HandleGetConfigMsg,             null_action                     )
TRANS      (EV (EVT,RMTCFG_RcvHttpOKResp),  GetConfiguration,               OnCompletGetCfg                 )
STATE_END

GRAPH_END (HiGraphGetRmtCfg)

/***** CODE GENERATION END ***************************************************/